import request from "@/utils/request";

// 查询列表
export function dataCountOne(query) {
  return request({
    url: "/system/indexData/dataCountOne",
    method: "get",
    params: query,
  });
}
//获取应收金额
export function getReceivable() {
  return request({
    url: "/system/indexData/getPayItemBarChartData",
    method: "get",
  });
}
//退款金额
export function getRefund() {
  return request({
    url: "/system/indexData/getRefundOrderBarChartData",
    method: "get",
  });
}
//获取业绩
export function getPerformance() {
  return request({
    url: "/system/indexData/getYearPerformanceBarChartData",
    method: "get",
  });
}
//获取聊天数据
export function getPerformanceRanking() {
  return request({
    url: "/system/indexData/getPerformanceRanking",
    method: "get",
  });
}
